import { createRouter , createWebHashHistory  } from "vue-router";

import threeScene from "../components/threeScene.vue";

// createMemoryHistory 记忆模式
// createWebHistory  HTML5模式
// createWebHashHistory hash模式
const router = createRouter({
    history : createWebHashHistory(),  
    routes  : [
        {
            path:"/",
            component:threeScene
        }
    ]
})


export { router };